using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SmartLink.Domain.Entity;

namespace SmartLink.IRepository
{
   public interface IPER_DataPermissionsRepo: IRepository<PER_DataPermissions>
    {
        IList<PER_DataPermissions> GetDataPermissionsByUserId(int userId);
        bool AllotDataRightsToRole(int roleId, IList<int> odids);
        IList<PER_DataPermissions> GetDataRightsByRole(int roleId);
    }
}
